﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Serna
{
    public class SerializationSettings
    {
        public enum eDateTimeFormat
        {
            Ticks,
            EuropeanVisual,
            Universal //(20140921 154812)
        }

        public SerializationSettings()
        {
            StringSerialization_SkipUnnecessarySmbols = false;

        }

        public eDateTimeFormat DateTimeFormat = eDateTimeFormat.Ticks;
        /// <summary>
        /// Default is false for readability
        /// </summary>
        public bool StringSerialization_SkipUnnecessarySmbols { get; set; }
        /// <summary>
        /// Framing for key/value names. Default is ' but can be cahnged on " 
        /// </summary>
        public char Framing = '\'';
        /// <summary>
        /// Delimiter between properties. Default is ; but can be ,
        /// </summary>
        public char Delimiter = ';';
    }
}
